﻿@using PlatformNetCore.Entity;
@model EmployeeDetail

<div class="banner banner-staff" style="background-image:url(@(Model.Ad != null && !string.IsNullOrWhiteSpace(Model.Ad.AdImagePC) ? Model.Ad.AdImagePC:"/img/banner/staff.jpg"))">
    <div class="txt">
        <div class="nav-container">
            <h1 class="text28 wow fadeInUp">@ViewBag.ParentTitle</h1>
            <ul class="nav wow fadeInUp">
                @foreach (Menu item in ViewBag.MenuTopSecond)
                {
                    <li><a href="@item.Link" class="@(item.MenuCode.Equals(ViewBag.MenuCode)?"active":"")">@item.Title</a></li>
                }
            </ul>
        </div>
    </div>
</div>

<div class="page page-leisure-detail">
    <article class="container">
        <header>
            <h1 class="title text28 wow fadeInUp">@Model.News.Title</h1>
            <div class="note">
                <time>@Model.News.PublishDate.Value.ToString("yyyy-MM-dd HH:mm")</time>
                <author>来自 @(!string.IsNullOrWhiteSpace(Model.News.Source)?Model.News.Source:"未知")</author>
            </div>
        </header>
        <main class="content wow fadeInUp">
            @Html.Raw(Model.News.Content)
        </main>
    </article>
</div>

